<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>捐赠支持</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../css/mui.min.css" rel="stylesheet" />
		<!--引入公用样式-->
		<link rel="stylesheet" type="text/css" href="../css/public.css" />
	</head>

	<body class="dp-n" id="body">
		<header class="mui-bar mui-bar-nav titleBar-bgcolor" id="header">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left c-ff"></a>
			<h1 class="mui-title titleBar-color">捐赠支持</h1>
		</header>
		<!--这里面是content页面-->
		<div class="mui-content bs-bb">
			<!--头部搜索框-->
			<div class="header-search bs-bb">
				<div class="zfbq ta-c">
					<img src="../images/bq3.jpg"/>
				</div>
				<div class="ttFontSize ta-c c-33 zfwz">
					支付接口没打通！
				</div>
			</div>
		</div>
		<script src="../js/mui.min.js"></script>
		<script src="../js/immersed.js"></script>
		<script type="text/javascript">
			mui.init();
			mui.plusReady(function() {
				plus.nativeUI.showWaiting("加载中...");
				var topoffset = '45px';
				if(plus.navigator.isImmersedStatusbar()) {
					topoffset = (Math.round(plus.navigator.getStatusbarHeight()) + 45) + 'px';
				}
				document.getElementById('header').style.height = (immersed + 44) + 'px';
				document.querySelector('.mui-content').style.marginTop = (immersed) + 'px';
				plus.nativeUI.closeWaiting();
				document.getElementById("body").className = "";
				/*
				 
				 * 捐赠与支持
				 * */
				document.getElementById('btn').addEventListener('tap', function(event) {
					plus.payment.getChannels(function(s) {
						channels = s;
						console.log(JSON.stringify(s));
					}, function(e) {
						alert("获取支付通道列表失败：" + e.message);
					});
				})
			})
		</script>
	</body>

</html>